#ifndef OBJECTFACTORY_H_
#define OBJECTFACTORY_H_

#include "UTH.h"

using namespace phnq::uth;

namespace phnq
{
	namespace phnqlets
	{
		class ObjectFactory
		{
			public:
				static ObjectFactory* getCurrent();
				static void setCurrent(ObjectFactory *factory);
				static void removeCurrent();
		
				virtual UTHObject* createObject(UTHArray *args) = 0;
		};
	}
}

#endif // OBJECTFACTORY_H_
